<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/cash-pager.css" />
		<link rel="stylesheet" type="text/css" href="js/layui/css/layui.css" />
			<link rel="stylesheet" type="text/css" href="css/login.css" />
		<link rel="stylesheet" type="text/css" href="css/header.css"/>
	</head>

	<body>
		<div class="cash-pagerheader">
			<div class="cash-pagerheader-main">
				<div class="cash-pagerheader-logo"></div>
				<div class="cash-pagerheader-title-gang">|</div>
				<div class="cash-pagerheader-title">收银台</div>
			</div>
			<div class="cash-page-main">
				<div class="cash-page-main-top">
					<div class="cash-page-main-icon"></div>
					<div class="cash-page-main-tt">
						<div class="cash-page-main-text">订单提交成功</div>
						<div class="cash-page-main-tip">请在24小时 内完成支付，超时后将取消订单。</div>
						<div class="cash-page-main-number">订单号：4330861202767872</div>
					</div>
					<div class="cash-page-main-cash">
						<!--应付总额：<span style="font-size: 25px;color: #CC0000;">¥149.00</span>-->
						<div class="cash-page-main-details">订单详情
							<!--<div class="cash-page-main-details-icon"></div>
							<div class="cash-page-main-detail">
								<div class="cash-page-detail-name"> <span>商品名</span> </div>
								<div class="cash-page-man">收货人</div>
								<div class="cash-page-address">送货地址</div>
								<div class="cash-page-phone">手机号</div>
								<div class="">发票:未开发票</div>
							</div>-->
						</div>
					</div>
				</div>
				<div class="cash-page-main-second">
					请选择以下方式支付
					<div class="cash-page-tab">
						<div class="layui-tab ">
							<ul class="layui-tab-title ">
								<li class="layui-this">
									<div class="cash-payway-zfb">
										<div class="cash-payway-zfbicon"></div>
									</div>
								</li>
								<li>
									<div class="cash-payway-zfb">
										<div class="cash-payway-zfbicon  weichat"></div>
									</div>
								</li>

							</ul>
							<div class="layui-tab-content">
								<div class="layui-tab-item layui-show zfb-content">
									<div class="cash-page-afb-left">
										<div class="cash-page-afb-left-erweima"></div>
									</div>
									<div class="cash-page-afb-right"></div>
								</div>
								<div class="layui-tab-item">
									<div class="cash-page-wc">
										<div class="cash-wc-erweima"></div>
									</div>
								</div>
								<div class="lijizhifu">立即支付</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script src="js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/login.js" type="text/javascript" charset="utf-8"></script>
			<script src="js/alertLogin.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/header.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/addheader.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		layui.use('element', function() {
			var element = layui.element;

			//…
		});
$("body").addHeader()
		$.get("/gettordertitle", {
			userId: 32
		}, function(data) {

			data.forEach(function(item) {
				$(".cash-page-main-details").append(`<div class="cash-page-main-details-icon"></div>							
						<div>${item.title}</div>

							`)
			})
		})
		$.get("/gettorder", {
			userId: 32
		}, function(data) {
			data.forEach(function(item) {
				$(".cash-page-main-details").append(`<div class="cash-page-main-details-icon"></div>							
						
								<div>收货人:${item.user_realname}</div>
								<div>送货地址:${item.user_addr}</div>
								<div>手机号:${item.user_tel}</div>
								<div>发票:未开发票</div>
							`)
			})
		})
		$.get("/gettorder", {
			userId: 32
		}, function(data) {
			data.forEach(function(item) {
				$(".cash-page-main-cash").append(`应付总额：<span style="font-size: 25px;color: #CC0000;">${item.totalPrice}.00</span>元`)
			})
		})
		$(".lijizhifu").click(function() {
			alert("支付成功")
		})
	</script>

</html>